﻿<phone:PhoneApplicationPage x:Class="ControlTestApplications.WindowsPhoneApp.WPSamples"
                            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                            xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
                            xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
                            xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
                            xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                            xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                            xmlns:bvcontrols="clr-namespace:Microsoft.Telco.Controls.WindowsPhone;assembly=Microsoft.Telco.Controls.WindowsPhone"
                            xmlns:wlcontrols="clr-namespace:Microsoft.Telco.Controls.WindowsLive;assembly=Microsoft.Telco.Controls.WindowsLive"
                            mc:Ignorable="d"
                            d:DesignWidth="480"
                            d:DesignHeight="768"
                            FontFamily="{StaticResource PhoneFontFamilyNormal}"
                            FontSize="{StaticResource PhoneFontSizeNormal}"
                            Foreground="{StaticResource PhoneForegroundBrush}"
                            SupportedOrientations="Portrait"
                            Orientation="Portrait"
                            shell:SystemTray.IsVisible="True">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot"
          Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="10"/>
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <bvcontrols:SMSControl x:Name="smsControl"
                               Width="400"
                               Grid.Row="0"
                               ShowHeader="True"
                               SendSMSTriggerEvent="smsControl_SendSMSTriggerEvent"
                               HorizontalAlignment="Center"
                               VerticalAlignment="Center"
                               MessagesListHeight="100"></bvcontrols:SMSControl>
        <bvcontrols:TranscribeMediaControl x:Name="transcribeMediaControl"  Grid.Row="1" 
                                         HorizontalAlignment="Center" Margin="40,0"  Width="400" Height="200"
                                         VerticalAlignment="Center" Loaded="transcribeMediaControl_Loaded" OnStartPlaying="transcribeMediaControl_OnStartPlaying" OnStopRecording="transcribeMediaControl_OnStopRecording"></bvcontrols:TranscribeMediaControl>
        <!--Pivot Control-->
        <controls:Pivot Grid.Row="2">
            <controls:PivotItem Tag="Advertising">
                <controls:PivotItem.Header>
                    <Border Background="Blue"
                            CornerRadius="5"
                            Padding="5">
                        <TextBlock Text="Advertising"
                                   FontSize="25"></TextBlock>
                    </Border>
                </controls:PivotItem.Header>
                <bvcontrols:AdvertisingControl x:Name="advertisingControl"
                                               Width="480"
                                               Height="83"
                                               Grid.Row="1"
                                               BorderBrush="Black"
                                               BorderThickness="1"
                                               AdvertisementMode="Text"
                                               Background="BurlyWood"
                                               AutoUpdate="False"
                                               AdvertisementTextFontSize="23"
                                               AdvertisementTextForeground="Green"
                                               ></bvcontrols:AdvertisingControl>
            </controls:PivotItem>

            <controls:PivotItem Tag="Live">
                <controls:PivotItem.Header>
                    <Border Background="Blue"
                            CornerRadius="5"
                            Padding="5">
                        <TextBlock Text="Live"
                                   FontSize="25"></TextBlock>
                    </Border>
                </controls:PivotItem.Header>
                <!--<wlcontrols:WLContactsControl 
                    ContactsCategoryTitleFontFamily="Georgia"
                    ContactsCategoryTitleFontSize="20"
                    ContactsCategoryTitleFontWeight="ExtraBold"
                    ContactsCategoryTitleForeGround="Green"
                    x:Name="contactsControl" />-->
            </controls:PivotItem>
        </controls:Pivot>
    </Grid>

</phone:PhoneApplicationPage>